package com.beamfield.dao.lab;

import com.beamfield.model.LabStandardsub;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface LabStandardsubMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LabStandardsub record);

    int insertSelective(LabStandardsub record);

    LabStandardsub selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LabStandardsub record);

    int updateByPrimaryKey(LabStandardsub record);

    List<LabStandardsub> selectStandardsubList(@Param("beamid") Long beamId, @Param("offset") Long offset, @Param("limit") Integer limit, @Param("standardsub_name") String standardsub_name, @Param("start") String start, @Param("end") String end);
   int countStandardsubList(@Param("beamid") Long beamId, @Param("standardsub_name") String standardsub_name, @Param("start") String start, @Param("end") String end);
}